Fix whitespace
authorStephen Becker IV <github@deathbyescalator.com>
Sun, 17 May 2015 16:32:53 +0000 (09:32 -0700)
committerStephen Becker IV <github@deathbyescalator.com>
Sun, 17 May 2015 16:32:53 +0000 (09:32 -0700)
Now matches test output.

src/cargo/util/toml.rs
tests/test_cargo_compile.rs
tests/test_cargo_compile_custom_build.rs

index 485cc5b0944770ad575daa8c384aca07b85b68db..938b92d121069e7ee20608bdc87f677bfb88ad71 100644 (file)
@@ -118,7 +118,7 @@ pub fn to_manifest(contents: &[u8],
         None => {}
     }
     if !manifest.targets().iter().any(|t| !t.is_custom_build()) {
-        return Err(human(format!("no targets specified in the manifest \neither \
+        return Err(human(format!("no targets specified in the manifest\n  either \
                                   src/lib.rs, src/main.rs, a [lib] section, or [[bin]] \
                                   section must be present")))
     }
index 309f445dcc4d6bae766ac507b5bade50634b2f5e..b8de2660c4d78f9cb4fcb5378ae02b7ca961f6e0 100644 (file)
@@ -795,7 +795,6 @@ failed to parse manifest at `[..]Cargo.toml`
 
 Caused by:
   no targets specified in the manifest
-
   either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present\n"));
 });
 
index 0a9789751592b07cc30d7be82abfa38552403420..65173c83bf50c3e9c12b89a4df0bccc6e1397b7b 100644 (file)
@@ -954,7 +954,6 @@ failed to parse manifest at `[..]`
 
 Caused by:
   no targets specified in the manifest
-
   either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present"));
 });